

<div class="clearfix">
    <div class="persons form_prices pull-right">
        <div class="inner_prices">
            <h4><?= lang('no_persons'); ?>:</h4>

            <div class="control-group">

                <label class="control-label details_control_label"><?= lang('dtl.adults') ?> (18+)</label>
                <div class="controls">
                    <select name="nr_adults" id="nr_adults">

                        <?php
                            $selected = $details->form->adl;
                            $sel_text = 'selected = "selected"';
                            for ($index = 1; $index <= 20; $index++):
                                ?>
                                <option value = "<?= $index ?>" <?php if ($selected == $index) echo $sel_text; ?>><?= $index ?></option>

                            <?php endfor; ?>


                    </select>
                </div>
            </div>

            <div class="control-group">
                <label class="control-label details_control_label"><?= lang('dtl.children') ?> (2-12):</label>
                <div class="controls">
                    <select name="nr_childrens" id="nr_childrens">
                        <?php
                            $selected = $details->form->chd;
                            $sel_text = 'selected = "selected"';
                            for ($index = 0; $index <= 5; $index++):
                                ?>
                                <option value = "<?= $index ?>" <?php if ($selected == $index) echo $sel_text; ?>><?= $index ?></option>
                            <?php endfor; ?>
                    </select>
                </div>
            </div>

        </div>

    </div><!--persons-->

    <div class="basic_service form_prices pull-left">
        <div class="inner_prices">
            <h4><?= lang('exc_service') ?>:</h4>

            <div class="control-group">
                <label class="checkbox">
                    <input type="radio" checked="checked"> &nbsp;  <?= $details->name ?>
                </label>

            </div>

        </div>
    </div><!--basic_service-->

    <div class="dates form_prices pull-left">
        <div class="inner_prices">
            <h4><?= lang('exc_departure_day'); ?>:</h4>

            <div class="control-group">
                <label class="control-label details_control_label"><?= lang('start_day') ?>:</label>
                <div class="controls">
                    <input type="text" name="check_in" id="check_in" value="<?= $details->form->firstAvailableDay ?>" class="checkinout">
                </div>
            </div>


        </div>
    </div><!--dates-->

</div>    

<div class="clearfix">

    <div class="form_prices pull-left clatopborder">

        <div class="inner_prices" id="claendar_css">

            <div class="too_many" ></div>

            <div class="cal_border">

                <div id="calendar" class="clearfix"></div>

            </div>

            <div class="cal_legend">
                <div id="instructions"><?= lang('exc_cal_instructions') ?> </div>
            </div>

        </div>
    </div>
</div>

<div class="clearfix">
    <div id="calculation" class="form_prices pull-left calculation2">

        <div class="inner_prices">
            <h4><?= lang('calculation'); ?>:</h4>

            <ul>
                <li class="personas"><?= lang('dtl.num_of_persons'); ?>: <span class="service_persons"><?= lang('dtl.adults'); ?>: <?= $details->form->adl ?>, <?= lang('dtl.children'); ?>: <?= $details->form->chd ?></span></li>
                <li class="periodes"><?= lang('start_day'); ?>: <span class="service_periods"><?= $details->form->firstAvailableDay ?>, <?= $details->form->firstAvailableDayText ?></span></li>
                <li><?= $details->name ?>: <span class="service_total"><?= $details->form->service_price ?> </span> &euro; / <?= lang('res.person'); ?></li>
                <li class="total"><?= lang('total'); ?>: <span><?= $details->form->total_price ?> </span> &euro;</li>

            </ul>

        </div>
    </div>
</div><!--calculation-->